import request from '@/utils/request'

// 查询任务列表
export function listMy_Stage_tasks(query) {
  return request({
    url: '/teaching/my_stage_tasks/list',
    method: 'get',
    params: query
  })
}


// 查询任务详细
export function getMy_Stage_tasks(id) {
  return request({
    url: '/teaching/my_stage_tasks/' + id,
    method: 'get'
  })
}

// 新增任务
export function addMy_Stage_tasks(data) {
  return request({
    url: '/teaching/my_stage_tasks/',
    method: 'post',
    data: data
  })
}

// 修改任务
export function updateMy_Stage_tasks(data) {
  return request({
    url: '/teaching/my_stage_tasks',
    method: 'put',
    data: data
  })
}

// 删除任务
export function delMy_Stage_tasks(id) {
  return request({
    url: '/teaching/my_stage_tasks/' + id,
    method: 'delete'
  })
}
